<base-popup width="800px" [height]="'85%'" (closeClick)="closeClick()" [title]="'命令执行控制台'">

    <!--自定义内容-->
    <div class="content">
        <div>
            <span>请输入命令：</span>
            <label>
                <textarea nz-input [(ngModel)]="commandInner" nzAutosize></textarea>
            </label>
        </div>
        <div style="text-align: right; margin-top: 5px; margin-bottom: 5px;">
            <label nz-checkbox [(ngModel)]="scrollFrame" style="margin-left : 10px;">同步滚动</label>
            <button nz-button [nzType]="'primary'" nzSize="small" (click)="clearScreen()">清屏</button>
            <button nz-button [nzType]="'primary'" [disabled]="!this.webSocket" nzSize="small" (click)="stopCommand()">
                中断
            </button>
            <button nz-button [nzType]="'primary'" [disabled]="this.webSocket" nzSize="small" (click)="sendCommand()">
                发送
            </button>
        </div>
        <label>
            <textarea #textAreaElement style="width: 100%; height: 350px;"></textarea>
        </label>
    </div>

    <!--右下角的按钮-->
    <div class="rightBtn"></div>

</base-popup>
